package com.kins.so.chatassistant.mapper;

import com.kins.so.chatassistant.entity.ChatAssistant;
import com.kins.so.knowledgebase.model.CategoryTreeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @Author: 申科
 * @Date:2025/11/26 12:13
 */
public interface ChatAssistantMapper {
    List<CategoryTreeVo> getChatAssistantTree(@Param("userNum") String userNum);

    List<ChatAssistant> findListByPermissions(ChatAssistant chatAssistant);

    void insert(ChatAssistant param);

    ChatAssistant getInfoById(ChatAssistant param);

    void update(ChatAssistant param);

    void deleteByAssistantId( String assistantId);

}
